/* 
 * File:   indicator.h
 * Author: Marcel
 *
 * Created on 12. September 2012, 03:31
 */

#ifndef INDICATOR_H
#define	INDICATOR_H

#define HEATER_BLINK_FREQ 150   // 0...255
#define BEEP_ONE	2	// beep 1 times
#define BEEP_TWO	4	// beep 2 times
#define BEEP_DURATION	0xA0	// the perfect beep duration :-)

void idctr_isr(void);

void idctr_timer_init(void);
void idctr_beep(unsigned char reps, unsigned int time);
void idctr_heater(unsigned char state);
void idctr_work(void);
void idctr_init(void);

#endif	/* INDICATOR_H */

